/*
 * @Author: ✨Fireflx 
 * @Date: 2022-02-16 09:09:45 
 * @Last Modified by: ✨Fireflx
 * @Last Modified time: 2022-02-16 11:22:37
 */


const router = require('koa-router')()
const {article} = require('../controller')

router.prefix('/article')

router.post('/add',article.artAdd)
router.get('/find',article.find)
router.get('/findone',article.findOne)
router.post('/update',article.artUp)
router.post('/del',article.artDel)

module.exports = router;